﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TrainingsApp.IPADApp.UserControls.Main;
using TrainingsApp.WebModel.Route;
using TrainingsApp.Model;

namespace TrainingsApp.IPADApp.Teacher {
    public partial class RegisterDetail : PageBase {
        public override bool IsAuthenticated {
            get {
                return false;
            }
        }

        protected void Page_Load(object sender, EventArgs e) {
            TS_User_Entity userEntity = null;
            if (!TemplateUserInfoManager.TryGet(out userEntity)) {
                Response.Redirect(this.RouteHelper.Route(RouteNames.User_Register));
            }
        }
    }
}